package org.msfj.hospital.service;

import org.msfj.hospital.model.HospitalExpert;
import org.msfj.hospital.vo.HospitalExpertVo;
import org.msfj.common.base.BaseService;
import com.github.pagehelper.PageInfo;
import java.util.List;
import java.util.Map;

/**
 * @Description: 医院专家信息Service接口
 * @Author: like
 * @Email: like@deyatong.com
 * @Date: 2018-08-10 14:12:03
 * @Version: 1.0
 * @Created in idea by autoCode
 */
public interface HospitalExpertService extends BaseService<HospitalExpert> {

    /**
     * 根据条件分页查询医院专家信息列表
     *
     * @param hospitalExpertVo
     * @param page 当前第几页
     * @param rows 每页多少条记录
     * @return PageInfo<HospitalExpert>
     */
    PageInfo<HospitalExpertVo> getByHospitalExpert(HospitalExpertVo hospitalExpertVo,int page, int rows);

    /**
     * 根据条件查询所有医院专家信息对象列表
     *
     * @param hospitalExpertVo
     * @return List<HospitalExpert>
     */
    List<HospitalExpertVo> getAllHospitalExpert(HospitalExpertVo hospitalExpertVo);

    /**
     * 设置vo的其他属性属性
     *
     * @param hospitalExpert
     * @return HospitalExpertVo
     */
    HospitalExpertVo setOtherProperties(HospitalExpert hospitalExpert);

    /**
     * 设置vo的其他属性属性
     *
     * @param hospitalExperts
     * @return List<HospitalExpertVo>
     */
    List<HospitalExpertVo> setOtherProperties(List<HospitalExpert> hospitalExperts);

    /**
     * 获取每个科室下面所有专家总数map
     *
     * @return Map<String,Integer>
     */
    Map<String,Integer> getHospitalDeptExpertCountMap();
}
